package com.ruoyi.web.controller.activiti;

import com.ruoyi.act.service.ActFormDataService;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/act/formDataController")
public class ActFormController {
    @Autowired
    private ActFormDataService formDataService;

    /**
     * 获取表单
     * @return
     */
    @GetMapping("/getStartFormData")
    public AjaxResult getStartFormData(@RequestParam("id") String id){
        return this.formDataService.getStartFormData(id);
    }
}
